#ifndef COINT_H
#define COINT_H

typedef struct {
    COVALUE_HEAD
    int i_val;
} CoInt;

extern CoType CoInt_Type;

#define COINT_CHECK(self)   CO_CHECK_TYPE(self, &CoInt_Type)

CoValue *CoInt_FromInt(int val);
int CoInt_AsInt(CoValue *self);

#endif
